<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<link href="../style/main.css" rel="stylesheet" type="text/css" />
<link type="text/css" rel="stylesheet"  href="../style/style.css" />
</head>

<body>
<div class="search" style="padding:10px; background:none; border:none">
<table width="100%" align="left" cellpadding="0" cellspacing="0"class="table3">
  <tr>
    <td width="12%" align="center" ><span class="clientinfo_but"><a href="biao_new.jsp" target="bright" >新增种类</a></span></td>
    <td width="11%" align="center" ><span class="clientinfo_but"><a href="markAction!findMark.action" target="bright" onclick="goToEdit(this)">修改种类</a></span></td>
    <td width="11%" align="center" ><span class="clientinfo_but"><a href="markAction!deleteMark.action" onclick="goToEdit(this)">删除</a></span></td>
  </tr>
</table><div class="clear"></div>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table5">
  <s:iterator value="markList">
  <tr>
  
    <td bgcolor="#FFFFFF"><a href="mdescriptionAction!findMdescriptionByMark.action?markId=<s:property value="markId"/>"  target="bright" onclick="changChosed('<s:property value="markId"/>')"><s:property value="markId"/></a></td>
    <td bgcolor="#FFFFFF"><s:property value="markName"/></td>
  </tr>
  </s:iterator>
</table></div>
<script type="text/javascript">
var chosedId = "";
function changChosed(chose){
	chosedId = chose;
	return true;
}
function goToEdit(obj){
	obj.href=obj.href+"?mark.markId="+chosedId;
	alert(obj.href);
	parent.mainFrame.location=obj.href;
	return false;
}
</script>
</body>
</html>
